home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 76 / MF_UK_76_1.iso / Education Feature / MicroWorlds 2.03 Try Me / MicroWorlds 2.03 Try Me.rsrc / TEXT_4010_I don't know what to do with !.txt < prev    next >
Encoding:
Text File  |  1998-05-08  |  1.0 KB  |  26 lines

  1. There are two possible causes for this message:
  2.  
  3. 1. You gave too many inputs to a command. MicroWorlds doesn‚Äôt know what to do with this extra input. Here are some examples:
  4.  
  5. print 3 4      Print will take the 3 as input but 
  6.                            MicroWorlds doesn‚Äôt know what to do 
  7.                            with the 4.
  8. fd 50 10         Fd will take the 50 as input but  
  9.                            MicroWorlds doesn‚Äôt know what to do 
  10.                            with the 10.
  11.  
  12. 2. An instruction began with something that reports a value. Every instruction must begin with a command. Here is an example:
  13.  
  14. 5 + 16
  15. I don't know what to do with 21
  16.  
  17. 5 + 16 reports 21. You have to tell MicroWorlds what to do with this number. Do you want to show it in the Command Center? 
  18.  
  19. show 5 + 16
  20. 21
  21.  
  22. The arithmetic signs (+, -, >, <) are reporters, like the primitives color, pos, and shape. They "say" something (the result of the operation, the current position of the turtle).
  23.  
  24. Show, print, and forward are commands. They don't report anything. They just  "do" something.
  25.  
  26.